package com.lhy.skywalking.order;

import com.lhy.skywalking.common.domain.AjaxResult;
import com.lhy.skywalking.product.dto.ProductDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(contextId = "remoteOrderService", value = "order-service")
public interface OrderFeignService {

    @GetMapping("/orders/{id}")
    AjaxResult findById(@PathVariable("id") Long id);
}
